package com.inossem.warehousestorage_inossem.bean.refundStorage;

import com.inossem.warehousestorage_inossem.bean.common.BeanNew;
import com.inossem.warehousestorage_inossem.bean.common.GetOperatorBean;

import java.util.List;

/**
 * 作者：wsy on 2017/12/26 10:07
 * <p>
 * 邮箱：445979770@qq.com
 *
 *  预留退库概览
 */

public class RefundStorageReservedOverviewBean extends BeanNew {

    /**
     * body : {"refer_receipt_code":"XSDH111","reserve_cost_obj_code":"成本对象","reserve_cost_obj_name":"成本对象描述","reserve_create_user":"创建人","reserve_create_time":"创建日期","item_list":[{"rid":"序号1","reserve_rid":"预留行项目号","mat_id":"物料id","mat_code":"物料编码","mat_name":"物料描述","fty_id":"工厂id","fty_code":"工厂代码","fty_name":"工厂描述","location_id":"库存地点id","location_code":"库存地点","location_name":"库存地点描述","move_type_name":"移动类型","demand_qty":"100","unit_name":"单位","decimal_place":"3","batch_spec_list":[{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"1","edit":"1"}],"batch_material_spec_list":[{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"1","edit":"1"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"2","edit":"1"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11","batch_spec_type":"1","required":"0","info":[],"display_index":"3","edit":"0"}]}]}
     */

    private ReservedBodyBean body;

    public ReservedBodyBean getBody() {
        return body;
    }

    public void setBody(ReservedBodyBean body) {
        this.body = body;
    }

    public static class ReservedBodyBean {
        /**
         * refer_receipt_code : XSDH111
         * reserve_cost_obj_code : 成本对象
         * reserve_cost_obj_name : 成本对象描述
         * reserve_create_user : 创建人
         * reserve_create_time : 创建日期
         * item_list : [{"rid":"序号1","reserve_rid":"预留行项目号","mat_id":"物料id","mat_code":"物料编码","mat_name":"物料描述","fty_id":"工厂id","fty_code":"工厂代码","fty_name":"工厂描述","location_id":"库存地点id","location_code":"库存地点","location_name":"库存地点描述","move_type_name":"移动类型","demand_qty":"100","unit_name":"单位","decimal_place":"3","batch_spec_list":[{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"1","edit":"1"}],"batch_material_spec_list":[{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"1","edit":"1"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"2","edit":"1"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11","batch_spec_type":"1","required":"0","info":[],"display_index":"3","edit":"0"}]}]
         */

        private String refer_receipt_code;
        private String reserve_cost_obj_code;
        private String reserve_cost_obj_name;
        private String reserve_create_user;
        private String reserve_create_time;
        private List<ItemListBean> item_list;
        private String remark;
        private String refundStorageNumber;
        private List<GetOperatorBean.OperatorBean> user_list;

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getRefundStorageNumber() {
            return refundStorageNumber;
        }

        public void setRefundStorageNumber(String refundStorageNumber) {
            this.refundStorageNumber = refundStorageNumber;
        }

        public List<GetOperatorBean.OperatorBean> getUser_list() {
            return user_list;
        }

        public void setUser_list(List<GetOperatorBean.OperatorBean> user_list) {
            this.user_list = user_list;
        }

        public static class UserListBean {
            /**
             * role_name : 共通权限
             * user_id : a123457
             * role_id : 0
             * phone : 13841088888
             * user_name : 佳佳
             * corp_name : 内蒙古伊泰煤炭股份有限公司
             * org_name : 煤炭生产事业部
             */

            private String role_name;
            private String user_id;
            private String role_id;
            private String phone;
            private String user_name;
            private String corp_name;
            private String org_name;

            public String getRole_name() {
                return role_name;
            }

            public void setRole_name(String role_name) {
                this.role_name = role_name;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getRole_id() {
                return role_id;
            }

            public void setRole_id(String role_id) {
                this.role_id = role_id;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public String getCorp_name() {
                return corp_name;
            }

            public void setCorp_name(String corp_name) {
                this.corp_name = corp_name;
            }

            public String getOrg_name() {
                return org_name;
            }

            public void setOrg_name(String org_name) {
                this.org_name = org_name;
            }
        }

        public String getRefer_receipt_code() {
            return refer_receipt_code;
        }

        public void setRefer_receipt_code(String refer_receipt_code) {
            this.refer_receipt_code = refer_receipt_code;
        }

        public String getReserve_cost_obj_code() {
            return reserve_cost_obj_code;
        }

        public void setReserve_cost_obj_code(String reserve_cost_obj_code) {
            this.reserve_cost_obj_code = reserve_cost_obj_code;
        }

        public String getReserve_cost_obj_name() {
            return reserve_cost_obj_name;
        }

        public void setReserve_cost_obj_name(String reserve_cost_obj_name) {
            this.reserve_cost_obj_name = reserve_cost_obj_name;
        }

        public String getReserve_create_user() {
            return reserve_create_user;
        }

        public void setReserve_create_user(String reserve_create_user) {
            this.reserve_create_user = reserve_create_user;
        }

        public String getReserve_create_time() {
            return reserve_create_time;
        }

        public void setReserve_create_time(String reserve_create_time) {
            this.reserve_create_time = reserve_create_time;
        }

        public List<ItemListBean> getItem_list() {
            return item_list;
        }

        public void setItem_list(List<ItemListBean> item_list) {
            this.item_list = item_list;
        }

        public static class ItemListBean {
            /**
             * rid : 序号1
             * reserve_rid : 预留行项目号
             * mat_id : 物料id
             * mat_code : 物料编码
             * mat_name : 物料描述
             * fty_id : 工厂id
             * fty_code : 工厂代码
             * fty_name : 工厂描述
             * location_id : 库存地点id
             * location_code : 库存地点
             * location_name : 库存地点描述
             * move_type_name : 移动类型
             * demand_qty : 100
             * unit_name : 单位
             * decimal_place : 3
             * batch_spec_list : [{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"1","edit":"1"}]
             * batch_material_spec_list : [{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"1","edit":"1"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"2","edit":"1"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11","batch_spec_type":"1","required":"0","info":[],"display_index":"3","edit":"0"}]
             */

            private String rid;
            private String refer_receipt_rid;
            private String mat_id;
            private String mat_code;
            private String mat_name;
            private String fty_id;
            private String fty_code;
            private String fty_name;
            private String location_id;
            private String location_code;
            private String location_name;
            private String move_type_name;
            private String demand_qty;
            private String unit_name;
            private String decimal_place;
            private List<BatchSpecListBean> batch_spec_list;
            private List<BatchSpecListBean> batch_material_spec_list;
            private String batch;
            private String refundNumber;
            private String batch_material_spec_list_long;
            //?????????
            private List<RefundStorageSaleBatchListBean.SaleBatchBodyBean.BatchSpecListBean> batchInfoList;
            private List<BatchSpecListBean> batchList;

            public String getBatch_material_spec_list_long() {
                return batch_material_spec_list_long;
            }

            public void setBatch_material_spec_list_long(String batch_material_spec_list_long) {
                this.batch_material_spec_list_long = batch_material_spec_list_long;
            }

            public String getRefundNumber() {
                return refundNumber;
            }

            public void setRefundNumber(String refundNumber) {
                this.refundNumber = refundNumber;
            }

            public String getBatch() {
                return batch;
            }

            public void setBatch(String batch) {
                this.batch = batch;
            }

            public List<RefundStorageSaleBatchListBean.SaleBatchBodyBean.BatchSpecListBean> getBatchInfoList() {
                return batchInfoList;
            }

            public void setBatchInfoList(List<RefundStorageSaleBatchListBean.SaleBatchBodyBean.BatchSpecListBean> batchInfoList) {
                this.batchInfoList = batchInfoList;
            }

            public List<BatchSpecListBean> getBatchList() {
                return batchList;
            }

            public void setBatchList(List<BatchSpecListBean> batchList) {
                this.batchList = batchList;
            }

            public String getRid() {
                return rid;
            }

            public void setRid(String rid) {
                this.rid = rid;
            }

            public String getReserve_rid() {
                return refer_receipt_rid;
            }

            public void setReserve_rid(String reserve_rid) {
                this.refer_receipt_rid = reserve_rid;
            }

            public String getMat_id() {
                return mat_id;
            }

            public void setMat_id(String mat_id) {
                this.mat_id = mat_id;
            }

            public String getMat_code() {
                return mat_code;
            }

            public void setMat_code(String mat_code) {
                this.mat_code = mat_code;
            }

            public String getMat_name() {
                return mat_name;
            }

            public void setMat_name(String mat_name) {
                this.mat_name = mat_name;
            }

            public String getFty_id() {
                return fty_id;
            }

            public void setFty_id(String fty_id) {
                this.fty_id = fty_id;
            }

            public String getFty_code() {
                return fty_code;
            }

            public void setFty_code(String fty_code) {
                this.fty_code = fty_code;
            }

            public String getFty_name() {
                return fty_name;
            }

            public void setFty_name(String fty_name) {
                this.fty_name = fty_name;
            }

            public String getLocation_id() {
                return location_id;
            }

            public void setLocation_id(String location_id) {
                this.location_id = location_id;
            }

            public String getLocation_code() {
                return location_code;
            }

            public void setLocation_code(String location_code) {
                this.location_code = location_code;
            }

            public String getLocation_name() {
                return location_name;
            }

            public void setLocation_name(String location_name) {
                this.location_name = location_name;
            }

            public String getMove_type_name() {
                return move_type_name;
            }

            public void setMove_type_name(String move_type_name) {
                this.move_type_name = move_type_name;
            }

            public String getDemand_qty() {
                return demand_qty;
            }

            public void setDemand_qty(String demand_qty) {
                this.demand_qty = demand_qty;
            }

            public String getUnit_name() {
                return unit_name;
            }

            public void setUnit_name(String unit_name) {
                this.unit_name = unit_name;
            }

            public String getDecimal_place() {
                return decimal_place;
            }

            public void setDecimal_place(String decimal_place) {
                this.decimal_place = decimal_place;
            }

            public List<BatchSpecListBean> getBatch_spec_list() {
                return batch_spec_list;
            }

            public void setBatch_spec_list(List<BatchSpecListBean> batch_spec_list) {
                this.batch_spec_list = batch_spec_list;
            }

            public List<BatchSpecListBean> getBatch_material_spec_list() {
                return batch_material_spec_list;
            }

            public void setBatch_material_spec_list(List<BatchSpecListBean> batch_material_spec_list) {
                this.batch_material_spec_list = batch_material_spec_list;
            }

        }
    }
}
